///*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
//package com.searchbook.keywordswidget;
//
//import android.appwidget.AppWidgetManager;
//import android.appwidget.AppWidgetProvider;
//import android.content.Context;
//import android.os.Handler;
//import android.widget.EditText;
//import android.widget.ListView;
//import android.widget.RemoteViews;
//import com.searchbook.keywordsfetch.MyRunnable;
//import com.searchbook.keywordsfetch.Suggestion;
//
//public class ExampleAppWidgetProvider extends AppWidgetProvider {
//	public void onUpdate(Context paramContext,
//			AppWidgetManager paramAppWidgetManager, int[] paramArrayOfInt) {
//		int i = paramArrayOfInt.length;
//		for (int j = 0;; ++j) {
//			if (j >= i) {
//				Handler localHandler = new Handler();
//				Suggestion.getSuggest(null, new MyRunnable(paramContext,
//						localHandler, new EditText(paramContext), new ListView(
//								paramContext)), localHandler, true);
//				return;
//			}
//			int k = paramArrayOfInt[j];
//			RemoteViews localRemoteViews = new RemoteViews(
//					paramContext.getPackageName(),
//					ToolWidget.getLayoutResIDByName(paramContext,
//							"searchsdk_search_widget"));
//			ToolWidget.setRemoteView(paramContext, localRemoteViews);
//			localRemoteViews.setOnClickPendingIntent(ToolWidget
//					.getIdResIDByName(paramContext,
//							"searchsdk_appwidget_ic_search1"), ToolWidget
//					.getPressPendingIntent(paramContext, ToolWidget
//							.getIdResIDByName(paramContext,
//									"searchsdk_appwidget_ic_search1"), 100));
//			localRemoteViews.setOnClickPendingIntent(ToolWidget
//					.getIdResIDByName(paramContext, "searchsdk_widget_img2"),
//					ToolWidget.getPressPendingIntent(paramContext, ToolWidget
//							.getIdResIDByName(paramContext,
//									"searchsdk_widget_img2"), 101));
//			paramAppWidgetManager.updateAppWidget(k, localRemoteViews);
//		}
//	}
//}